package com.jk.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jk.dto.TreeBean;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface TreeBeanMapper extends BaseMapper<TreeBean> {
    @Select(" SELECT points_id as id, points_name as label FROM points_tree where parent_id = #{pid}")
    List<TreeBean> getNodesData(Long pid);
}
